<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./demo.css">
</head>
<body>
    <div class="container">
        <h1 id="title">表白墙</h1>
        <p id="desc" >输入后点击提交，会将信息显示在表格中</p>
        <div class="box">
            <span class="item">谁：</span><input type="text" class="edit">
        </div>
        <div class="box">
            <span class="item">对谁：</span><input type="text" class="edit">
        </div>
        <div class="box">
            <span class="item">说什么：</span><input type="text" class="edit">
        </div>
        <div class="box">
            <input type="button" value="提交" class="submit" onclick="showText()">
        </div>
    </div>
</body>
<script src="./demo.js"></script>
</html>